package com.bs.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * MedicalRecord entity. @author MyEclipse Persistence Tools
 */

public class MedicalRecord implements java.io.Serializable {

	// Fields

	private Long medicalRecordId;
	private User userInfo;
	private String symptom;
	private String treateMethod;
	private Date medicalRecordTime;
	private String allergyHistory;

	// Constructors

	/** default constructor */
	public MedicalRecord() {
	}

	/** full constructor */
	public MedicalRecord(User userInfo, String symptom,
			String treateMethod, Date medicalRecordTime, String allergyHistory) {
		this.userInfo = userInfo;
		this.symptom = symptom;
		this.treateMethod = treateMethod;
		this.medicalRecordTime = medicalRecordTime;
		this.allergyHistory = allergyHistory;
	}

	// Property accessors

	

	public User getUserInfo() {
		return this.userInfo;
	}

	public Long getMedicalRecordId() {
		return medicalRecordId;
	}

	public void setMedicalRecordId(Long medicalRecordId) {
		this.medicalRecordId = medicalRecordId;
	}

	public void setUserInfo(User userInfo) {
		this.userInfo = userInfo;
	}

	public String getSymptom() {
		return this.symptom;
	}

	public void setSymptom(String symptom) {
		this.symptom = symptom;
	}

	public String getTreateMethod() {
		return this.treateMethod;
	}

	public void setTreateMethod(String treateMethod) {
		this.treateMethod = treateMethod;
	}

	public Date getMedicalRecordTime() {
		return this.medicalRecordTime;
	}

	public void setMedicalRecordTime(Date medicalRecordTime) {
		this.medicalRecordTime = medicalRecordTime;
	}

	public String getAllergyHistory() {
		return this.allergyHistory;
	}

	public void setAllergyHistory(String allergyHistory) {
		this.allergyHistory = allergyHistory;
	}

}